package com.hzcx.app.simplechat.ui.group.bean;

import org.litepal.crud.LitePalSupport;

import java.io.Serializable;

public class MembersBean extends LitePalSupport implements Serializable {
    /**
     *  id
     * [number]	是		展开
     * hxchatgroup_id
     * [number]	是	群ID	展开
     * member_id
     * [number]	是	会员ID	展开
     * group_member_nickname
     * [string]	是	群昵称
     * is_owner
     * [string]	是	群主	展开
     * is_admin
     * [string]	是	管理员	展开
     * state
     * [string]	是	0=未进群,1=待审批,2=通过	展开
     * createtime
     * [number]	是		展开
     * updatetime
     * [number]	是		展开
     * member复制
     * [object]	是
     * is_mute
     * [boolean]	是	是否被禁言
     * mute
     * [string]	是	禁言的毫秒数
     * mute_message1
     * [string]	是	禁言文字1
     * mute_message2
     * [string]	是	禁言文字2
     */


    private int id;
    private int hxchatgroup_id;
    private int member_id;
    private String group_member_nickname;
    private String is_owner;
    private String is_admin;
    private int state;
    private int createtime;
    private int updatetime;
    private MemberBean member;
    private boolean is_mute;
    private String mute;
    private String mute_message1;
    private String mute_message2;
    private String reason;

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getHxchatgroup_id() {
        return hxchatgroup_id;
    }

    public void setHxchatgroup_id(int hxchatgroup_id) {
        this.hxchatgroup_id = hxchatgroup_id;
    }

    public int getMember_id() {
        return member_id;
    }

    public void setMember_id(int member_id) {
        this.member_id = member_id;
    }

    public String getGroup_member_nickname() {
        return group_member_nickname;
    }

    public void setGroup_member_nickname(String group_member_nickname) {
        this.group_member_nickname = group_member_nickname;
    }

    public String getIs_owner() {
        return is_owner;
    }

    public void setIs_owner(String is_owner) {
        this.is_owner = is_owner;
    }

    public String getIs_admin() {
        return is_admin;
    }

    public void setIs_admin(String is_admin) {
        this.is_admin = is_admin;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getCreatetime() {
        return createtime;
    }

    public void setCreatetime(int createtime) {
        this.createtime = createtime;
    }

    public int getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(int updatetime) {
        this.updatetime = updatetime;
    }

    public MemberBean getMember() {
        return member;
    }

    public void setMember(MemberBean member) {
        this.member = member;
    }

    public boolean getIs_mute() {
        return is_mute;
    }

    public void setIs_mute(boolean is_mute) {
        this.is_mute = is_mute;
    }

    public String getMute() {
        return mute == null ? "0" : mute;
    }

    public void setMute(String mute) {
        this.mute = mute;
    }

    public String getMute_message1() {
        return mute_message1;
    }

    public void setMute_message1(String mute_message1) {
        this.mute_message1 = mute_message1;
    }

    public String getMute_message2() {
        return mute_message2;
    }

    public void setMute_message2(String mute_message2) {
        this.mute_message2 = mute_message2;
    }

    @Override
    public String toString() {
        return "MembersBean{" +
                "id=" + id +
                ", hxchatgroup_id=" + hxchatgroup_id +
                ", member_id=" + member_id +
                ", group_member_nickname=" + group_member_nickname +
                ", is_owner=" + is_owner +
                ", is_admin=" + is_admin +
                ", state=" + state +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                ", member=" + member +
                ", is_mute='" + is_mute + '\'' +
                ", mute='" + mute + '\'' +
                ", mute_message1='" + mute_message1 + '\'' +
                ", mute_message2='" + mute_message2 + '\'' +
                '}';
    }
}